package cn.bdqn.domain;


import java.io.Serializable;

/**
 * 管理员实体类
 * @author dkj
 */
public class Admin implements Serializable {

    /**
     * id
     */
    private Integer id;

    /**
     * 管理名字
     */
    private String adminName;

    /**
     * 密码
     */
    private String adminPwd;

    /**
     * 手机号
     */
    private String adminPhone;

    /**
     * 状态  1.正常  2 删除
     */
    private Integer adminState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName == null ? null : adminName.trim();
    }

    public String getAdminPwd() {
        return adminPwd;
    }

    public void setAdminPwd(String adminPwd) {
        this.adminPwd = adminPwd == null ? null : adminPwd.trim();
    }

    public String getAdminPhone() {
        return adminPhone;
    }

    public void setAdminPhone(String adminPhone) {
        this.adminPhone = adminPhone == null ? null : adminPhone.trim();
    }

    public Integer getAdminState() {
        return adminState;
    }

    public void setAdminState(Integer adminState) {
        this.adminState = adminState;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", adminName='" + adminName + '\'' +
                ", adminPwd='" + adminPwd + '\'' +
                ", adminPhone='" + adminPhone + '\'' +
                ", adminState=" + adminState +
                '}';
    }
}
